const nodata = require('../tw-lib-base/no-data/props')

module.exports = {
  data: {
    type: Array,
    default () {
      return [
        {
          name: '张三张三张三张三张三张三',
          isok: false,
          sex: '1'
        },
        {
          name: '张三',
          isok: false,
          sex: '0'
        },
        {
          name: '张三',
          isok: false,
          sex: '1'
        },
        {
          name: '张三',
          isok: true,
          sex: '1'
        },
        {
          name: '张三',
          isok: true,
          sex: '1'
        },
        {
          name: '张三',
          isok: true,
          sex: '1'
        },
        {
          name: '张三',
          isok: true,
          sex: '0'
        },
        {
          name: '张三',
          isok: true,
          sex: '0'
        },
        {
          name: '张三',
          isok: true,
          sex: '0'
        },
        {
          name: '张三',
          isok: true,
          sex: '1'
        },
      ]
    },
    name: '图表数据集',
    filedType: 'api'
  },

  bgColor: {
    type: String,
    default: '#fff',
    name: '背景颜色',
    filedType: 'color'
  },
  itemWidth: {
    type: String,
    default: '80px',
    name: '单个选项宽度',
    filedType: 'string'
  },
  itemHeight: {
    type: String,
    default: '80px',
    name: '单个选项高度',
    filedType: 'string'
  },
  imgWidth: {
    type: String,
    default: '50px',
    name: '图片头像宽度',
    filedType: 'string'
  },
  marginWidth: {
    type: String,
    default: '10px',
    name: 'margin数值',
    filedType: 'string'
  },
  marginTop: {
    type: String,
    default: '10px',
    name: '标签文字与图片间距',
    filedType: 'string'
  },
  labelFontSize: {
    type: String,
    default: '14px',
    name: '标签字体大小',
    filedType: 'string'
  },
  labelcolor: {
    type: String,
    default: '#333',
    name: '标签字体颜色',
    filedType: 'color'
  },
  overflow: {
    type: String,
    default: 'auto',
    name: '滚动条选项',
    filedType: 'string'
  },

  ...nodata
}
